﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace ShivamEMR.Model.Domain.PersonDomain
{
   public class PersonRole
    {
        #region Properties
        [Display(Description = "Unique Identifire of persons Role")]
        public int ID { get; set; }
       [Display(Description = "Code for the person Role in the system")]
        public string Code { get; set; }
       [Display(Description = "Name of the person Role")]
       [Required]
        public string Role { get; set; }
       [Display(Description = "Description of person Role")]
        public string Description { get; set; }
       [Display(Description = "Notes on Person Role")]
        public string Notes { get; set; } 
        #endregion

       #region NavigationalProperties
       public virtual ICollection<Person> Persons { get; set; } 
       #endregion
    }
}
